<div class="middle" id="anchor-content">
    <div id="page:main-container">
        <div class="columns ">

            <div class="side-col" id="page:left">
                <h3>Audios</h3>

                <ul id="isoft" class="tabs">
                    <li >
                        <a href="audios_manage.php" id="isoft_group_1" name="group_1" title="Manage Audios" class="tab-item-link ">
                            <span>
                                <span class="changed" title=""></span>
                                <span class="error" title=""></span>
                                Manage Audios
                            </span>
                        </a>

















                        <div id="isoft_group_1_content" style="display:none;">
                            <div class="entry-edit">
                                <div class="entry-edit-head">
                                    <h4 class="icon-head head-edit-form fieldset-legend">Preview Audio #{$smarty.request.AUDIOID}</h4>
                                    <div class="form-buttons">

                                    </div>
                                </div>

                                <fieldset id="group_fields4">
                                    <div class="hor-scroll">

                                        <script type="text/javascript" src="{$baseurl}/js/swfobject.js"></script>
                                        <div id="player" align="center"> We recently encoded our videos in a newer Flash format. You need to 
                                            <br />
                                            get the latest <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> to see this video.
                                        </div>

                                        {*<script type="text/javascript">
                                        var so = new SWFObject('{$baseurl}/audioplayer.swf','player','306','66','8');
                                        so.addVariable('configXmlPath','{$baseurl}/audioplayerconfig.php?AUDIOID={$smarty.request.AUDIOID}');
                                        so.addVariable('playListXmlPath','{$baseurl}/audioplayerlist.php?AUDIOID={$smarty.request.AUDIOID}');
                                        so.addVariable('height','66');
                                        so.addVariable('width','306');
                                        so.addVariable('location','{$baseurl}/audioplayer.swf');
                                        so.addParam("wmode", "transparent");
                                        so.addParam("vmode", "transparent");	
                                        so.write('player');
                                        </script>*}
                                    {capture assign='player'}images/audiothumbs/{$audioarray[0].AUDIOID}-1{$audioarray[0].ext}{/capture} 

                                    {if $player|file_exists}
                                        {capture assign='image'}{$audioarray[0].AUDIOID}-1{$audioarray[0].ext}{/capture}
                                    {else}
                                        {capture assign='image'}default.png{/capture}
                                    {/if}

                                    <script type="text/javascript">
                                        var s1 = new SWFObject("{$baseurl}/player.swf","flvplayer","605","432","7");
                                        s1.addParam("allowfullscreen","true");
                                        s1.addVariable("file",'{$baseurl}/adata/{$catName}/{$audioYear}/{$audioarray[0].audio_name}');
                                        s1.addVariable("autostart","true");
                                        s1.addVariable("screencolor","#FFFFFF");
                                        s1.addVariable("image",'{$baseurl}/images/audiothumbs/{$image}');
                                        s1.write("player");
                                    </script> 
                        </div>
                    </fieldset>

                </div>
            </div>


























        </li>

        <li >
            <a href="audios_validate.php" id="isoft_group_2" name="group_2" title="Validate Audios" class="tab-item-link">
                <span>
                    <span class="changed" title=""></span>
                    <span class="error" title=""></span>
                    Validate Audios
                </span>
            </a>
            <div id="isoft_group_2_content" style="display:none;"></div>
        </li>

        <li >
            <a href="audios_featured.php" id="isoft_group_3" name="group_3" title="Featured Audios" class="tab-item-link">
                <span>
                    <span class="changed" title=""></span>
                    <span class="error" title=""></span>
                    Featured Audios
                </span>
            </a>
            <div id="isoft_group_3_content" style="display:none;"></div>
        </li>

        <li >
            <a href="audios_reported.php" id="isoft_group_4" name="group_4" title="Reported Audios" class="tab-item-link">
                <span>
                    <span class="changed" title=""></span>
                    <span class="error" title=""></span>
                    Reported Audios
                </span>
            </a>
            <div id="isoft_group_4_content" style="display:none;"></div>
        </li>

    </ul>

    <script type="text/javascript">
        isoftJsTabs = new varienTabs('isoft', 'main_form', 'isoft_group_1', []);
    </script>

</div>

<div class="main-col" id="content">
    <div class="main-col-inner">
        <div id="messages">
            {if $message ne "" OR $error ne ""}
                {include file="administrator/show_message.tpl"}
            {/if}
        </div>

        <div class="content-header">
            <h3 class="icon-head head-products">Audios - Preview Audio</h3>
        </div>

        <form action="audios_play.php" method="post" id="main_form" name="main_form" enctype="multipart/form-data">
            <input type="hidden" id="submitform" name="submitform" value="1" >
            <div style="display:none"></div>
        </form>
    </div>
</div>
</div>

</div>
</div>